package com.prik.decorator.coffee;

/**
 * @description: 美式咖啡，继承饮料类
 * @author: prik
 * @create: 2019-07-24
 **/
public class Americano extends Beverage {

    public Americano() {
        description = "美式"; // 构造方法，修改继承自超类的description
    }

    @Override
    public double cost() {
        return 21; // 返回美式本身的价格
    }
}